import numpy as np
#
# loc_x=np.random.uniform(50,1000-50,(1,1))
# loc_y=np.random.uniform(50,1000-50,(1,1))
# loc=np.concatenate((loc_x,loc_y),axis=1)
# print(loc_x)
# print(loc_y)
# print(loc)

import tensorflow as tf
version = tf.__version__
gpu_ok = tf.test.is_gpu_available()
print("tf version:",version,"\nuse GPU",gpu_ok)

# nvidia-smi
from tensorlow.python.client import device_lib
print(device_lib.list_local_devices())
import os
os.environ["CUDA_VISIBLE_DEVICES"] = "0,1"


# ACTIONS=np.array([[0, 1],
#              [1,0],
#              [0,-1],
#              [-1,0]],dtype=int)

